package main

import (
	"fileserver/config"
	"fileserver/http"
	"flag"
)

var CfgFile string

func main() {
	flag.StringVar(&CfgFile, "c", "fileserver.yaml", "Yaml Configuration location")
	flag.Parse()
	config.LoadFromYaml(CfgFile)
	http.Init()
}
